#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_netif.h"
#include "nvs_flash.h"
#include "smart_config.h"
#include "mqtt.h"
#include "esp_event.h"
#include "epd_lvgl.h"

void app_main(void)
{
  ESP_ERROR_CHECK(nvs_flash_init());
  ESP_ERROR_CHECK(esp_netif_init());
  ESP_ERROR_CHECK(esp_event_loop_create_default());
  // initialise_wifi();
  // mqtt_app_start();
  epd_lvgl_init();

  while (1)
  {
    vTaskDelay(2000 / portTICK_PERIOD_MS);
  }
}
